package com.xds.gulimall.order.feign;

import com.xds.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : baixu
 * @date : 11:39 2021/12/24
 *
 */
@FeignClient("gulimall-product")
public interface ProductFeign {
    @GetMapping("/product/spuinfo/bySkuId/{skuId}")
    public R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
